﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.Domain
{
    /// <summary>
    /// 申请表
    /// </summary>
    public class TrunMeon
    {
        [Key]
        public int Trunid { get; set; }
        //姓名
        public string Name { get; set; }

        ///部门 
        public int DepId { get; set; }

        /// <summary>
        /// 请假类别
        /// </summary>
        public string IeaveType { get; set; }

        /// <summary>
        /// 请假时间
        /// </summary>
        public string StartDate { get; set; }

        /// <summary>
        /// 总工时
        /// </summary>
        public string EndDate {  set; get; }


        /// <summary>
        /// 共计天数
        /// </summary>
        public int TotalDays { get; set; }

        /// <summary>
        /// 共计小时数
        /// </summary>
        public int TotalHours { get; set; }

        /// <summary>
        /// 报到时间
        /// </summary>
        public string ReportDate { get; set; }


        // 请假事由
        public string Reason { get; set; }
        /// <summary>
        /// 部门领导 
        /// </summary
        public string Ieader {  get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Suesser { get; set; }



        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime TrunDtime { get; set; }


        /// <summary>
        /// 审核
        /// </summary>
        public bool Audit { get; set; }


        /// <summary>
        /// 原因
        /// </summary>
        public string?Cause { get; set; }

        /// <summary>
        /// 删除的状态
        /// </summary>
        public bool Idester { get; set; }

    }
}
